﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserPassword.ascx.cs" Inherits="Web.Cms.Users.UserPassword" %>
<p class="heading">Thay đổi mật khẩu người dùng</p>
<table border="0" cellpadding="2" cellspacing="2" style="width: 100%">
    <tr>
        <td colspan="2" align="left">
            <asp:Button ID="btnBack" runat="server" SkinID="AdminButtonBack" OnClick="btnBack_Click" /></td>
    </tr>
    <tr>
        <td>
            Tên truy cập:
        </td>
        <td>
            <strong>
                <asp:Label ID="lblUser" runat="server"></asp:Label>
            </strong>
        </td>
    </tr>
    <tr>
        <td>
            Mật khẩu mới:</td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="228px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Không để trống"
                ValidationGroup="helo" ControlToValidate="txtPassword" Display="Dynamic"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td>
            Xác nhận lại:
        </td>
        <td>
            <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password" Width="228px"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Mật khẩu không trùng khớp"
                ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" ValidationGroup="helo" Display="Dynamic"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" SkinID="AdminButtonUpdate"
                ValidationGroup="helo"  />
        </td>
    </tr>
</table>
